<template>
<div class="container">
    <div class="p30">
        <div class="title text-center">
        {{item.title}}
    </div>
    <div class="desc fz26 txt999 p30 text-center">
        更新时间:{{item.modifyTime|parseTime}}
    </div>
    <div class="content" v-html="item.content">
    </div>
    </div>    
</div>
</template>
<script>
export default {
  data(){
      return {
          item:{}
      }
  },
  created(){
      let id = this.$route.query.id;
      this.showLoading();
      this.$get('/api/question_detail',{id}).then(data=>{
          this.item = data;
        this.hideLoading();
      })
  }
}
</script>

<style lang="scss" scoped>
.title{
    font-size:0.5rem;
    padding: 0.4rem;
}
.content{
    line-height: 2em;
    font-size:0.3467rem;
}
</style>

